let axios = require('../utils/axios');
module.exports = {
  //获取类别数据列表
  getNavList() {
    let url = 'http://vueshop.glbuys.com/api/home/category/menu?token=1ec949a15fb709370f';
    return axios.get(url,{token:'1ec949a15fb709370f'});
  },
  //获取类别对应的商品列表
  getGoodsList(cid) {
    let url = 'http://vueshop.glbuys.com/api/home/category/show?cid=493&token=1ec949a15fb709370f';
    return axios.get(url,{token:'1ec949a15fb709370f',cid:cid});
  }
}

